<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		for(var i = 0;i<3;i++){
			var aaa = 5;
		}
		for(var i = 0;i<3;i++){
			var aaa = 6;
		}
		// 循环里面的变量也属于成员变量
		alert(aaa);
	</script>
</html>
